package com.itheima.service.impl;

import com.itheima.pojo.Question;
import com.itheima.pojo.Result;
import com.itheima.service.QuestionService;
import org.springframework.stereotype.Component;

@Component
public class QuestionServiceImpl implements QuestionService {

    /**
     * @Author: Administrator
     * @Date: 17:03 2021/2/4
     * @Parms [question]
     * @ReturnType: com.itheima.pojo.Result
     * @Description: 服务降级方法
    */
    @Override
    public Result addQuestion(Question question) {
        return new Result(false,"服务降级");
    }
}
